package day03;

public class ParamExample {
    public static void main(String[] args) {
        String s = new String("good");

        char[] arr = {'a','b','c'};

        change(s,arr);

        System.out.println("main-"+s);
        System.out.println("main-"+arr[0]);
    }

    private static void change(String s,char[] arr){
        s = "test good";
        arr[0] = 'g';
        System.out.println(s);
        System.out.println(arr[0]);
    }
}
